package jmine.tec.web.wicket.mock;

import javax.security.auth.Subject;

import bancosys.tec.security.SecurityException;
import bancosys.tec.security.SecurityService;
import bancosys.tec.security.impl.web.WebSecurityContext;
import bancosys.tec.security.impl.web.WebSecurityManager;

/**
 * Mock do WebSecurityManager.
 * 
 * @author Rafael Volpato
 * @date Oct 6, 2011
 */
public class MockWebSecurityManager implements WebSecurityManager {

    /**
     * {@inheritDoc}
     */
    public Subject loadSubject(WebSecurityContext context) throws SecurityException {
        return null;
    }

    /**
     * {@inheritDoc}
     */
    public SecurityService getSecurityService() {
        return null;
    }

    /**
     * {@inheritDoc}
     */
    public Subject login(String username, String password, WebSecurityContext context) throws SecurityException {
        return null;
    }

    /**
     * {@inheritDoc}
     */
    public void logout(WebSecurityContext context) {

    }

    /**
     * {@inheritDoc}
     */
    public void storeSubject(WebSecurityContext context, Subject subject) {

    }
}
